package cn.e4j.modular.api.service;
import cn.e4j.core.dto.impl.Dto;
import cn.e4j.modular.api.mapper.MmrMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by wenchuan on 2018/4/17.
 */
@Service
public class MmrService{
    @Autowired
    MmrMapper mmrMapper;


    /**
     * 获取标准收费项目-mmrc_t,mmrcl_t
     *
     * @param params
     * @return
     */
    public List<Dto> getMmrcList(Dto params) {
        return mmrMapper.getMmrcList(params);
    }

    /**
     * 获取客户对服务的评价
     * 条件：服务单号、服务单序号
     *
     * @param params
     * @return
     */
    public List<Dto> getFwpjOfCustomer(Dto params) {
        return mmrMapper.getFwpjOfCustomer(params);
    }


}
